package top.csjss.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.csjss.domain.GoodsSort;
import top.csjss.mapper.GoodsSortMapper;
import top.csjss.service.GoodsSortService;

import java.util.List;

/**
 * @Author ztf
 * @Date 15:56 2021/10/7
 **/
@Service
public class GoodsSortServiceImpl implements GoodsSortService {

    @Autowired
    private GoodsSortMapper goodsSortMapper;

    @Override
    public List<GoodsSort> findAll() {
        return goodsSortMapper.selectByExample(null);
    }
}
